from django.db import models

# Create your models here.
class test(models.Model):
    name = models.CharField(max_length=20)
    def __str__(self):
        return self.name

class dep_info(models.Model):
	tag = models.CharField(max_length=20)
	title = models.CharField(max_length=255)
	content = models.TextField()
	image = models.ImageField(max_length=255)
	def __str__(self):
		return self.title

class plat_sn(models.Model):
	sn = models.CharField(max_length=25)
	BasicServiceForSn = models.CharField(max_length=32)
	FarwordDeviceForSn = models.CharField(max_length=32)
	SundrayDeviceForSN = models.CharField(max_length=32)   
	ThirdDeviceForSN = models.CharField(max_length=32)       
	TypeOfThirdDeviceForSN = models.CharField(max_length=32)
	CameraFuncForSN = models.CharField(max_length=32)    
	DataTransmissionFuncForSN = models.CharField(max_length=32)

	def __str__(self):
		return self.sn
